package ssl.speech;

public class Tag {
	public static final String NONE = "None";
	public static final String STATEMENT = "Statement";
	public static final String THANKING = "Thanking";
	public static final String YESNOQ = "Yes-No Question";
	public static final String RESPONSE = "Response";
	public static final String ACK = "Acknowledge";
	public static final String REQUEST = "Request";
	public static final String DISAGREE = "Disagree";
	public static final String OPEN_QUESTION = "Open question";
	public static final String YES_ANSWER = "Yes Answer";
	public static final String NO_ANSWER = "No Answer";
	public static final String CONV_OPENING = "Conventional Opening";
	public static final String CONV_CLOSING = "Conventional Closing";
	public static final String EXPRESSIVE = "Expressive";
	public static final String DOWNPLAYER = "Downplayer";
	public static final String SUGGESTION = "Suggestion";
	public static final String OTHER = "Other";

	public static final String[] values = { NONE, STATEMENT, THANKING, YESNOQ,
			RESPONSE, ACK, REQUEST, DISAGREE, SUGGESTION, OPEN_QUESTION,
			YES_ANSWER, NO_ANSWER, CONV_OPENING, CONV_CLOSING, EXPRESSIVE,
			DOWNPLAYER, OTHER };

	public static int getIndexOf(String tag) {
		for (int i = 0; i < values.length; i++)
			if (values[i].equals(tag))
				return i;
		return -1;
	}
}